package com.trimps.steps.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.trimps.steps.pojo.User;

public interface UserMapper {
	public List<User> getAllUser(@Param("currentPage") int currentPage,
			@Param("rowPerPage") int rowPerPage);

    public int getUserCount();

    public User getUser(@Param("user") User user);

    public int delById(@Param("id") int id);

    public int save(@Param("user") User user);

    public int update(@Param("user") User user);

}
